package cn.aliang.cloud.service.entity;


/**
 * @Author: chendongliang
 * @Date: 2020/7/20 16:28
 *
 * 返回结果 code 枚举
 */
public enum ResultCode{

    OK(8200,"成功")
    ,FAIL(8500,"失败");

    private Integer code ;
    private String message ;

    ResultCode(Integer code, String message) {
        this.code = code ;
        this.message = message ;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}